-- GENERATED SPELL FOR [Murkdeep] --


function spell0_10323(pUnit, Event) --@Net,n/a--
pUnit:FullCastSpellOnTarget(6533,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_10323', 2321, 1)
end

function spell1_10323(pUnit, Event) --@Sunder Armor,n/a--
pUnit:FullCastSpellOnTarget(11971,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_10323', 30252, 1)
end

function Sorts_10323(pUnit, Event)
local choix_sorts_10323 = math.random(0, 1)
if choix_sorts_10323 == 0 then
pUnit:RegisterEvent('spell0_10323', 1, 1)
end
if choix_sorts_10323 == 1 then
pUnit:RegisterEvent('spell1_10323', 1, 1)
end
end

function mob10323_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_10323', math.random(1500, 3000), 1)
end

function mob10323_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob10323_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob10323_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(10323, 1, 'mob10323_Action')
RegisterUnitEvent(10323, 2, 'mob10323_Leave')
RegisterUnitEvent(10323, 3, 'mob10323_Kill')
RegisterUnitEvent(10323, 4, 'mob10323_Die')
